package com.tuanzi.loan.business.repository.family;

import com.tuanzi.loan.business.entity.family.LoanWholeSaleComment;
import com.tuanzi.loan.business.repository.family.custom.LoanWholeSaleCommentRepositoryCustom;
import com.tuanzi.loan.core.repository.JPAAuditRepository;

import java.util.List;

public interface LoanWholeSaleCommentRepository extends LoanWholeSaleCommentRepositoryCustom,JPAAuditRepository<LoanWholeSaleComment,Long>{
    @Override
     LoanWholeSaleComment saveAndFlush(LoanWholeSaleComment entity);

     LoanWholeSaleComment  findById(Long id);

    @Override
    void delete(Long aLong);

    List<LoanWholeSaleComment> findAllByStatus(Integer status);
}
